package cn.actoncode.boot.module.ai.convert.intelligentagent;

import cn.actoncode.boot.module.ai.controller.app.ability.vo.AbilityUsedRecordRespVO;
import cn.actoncode.boot.module.ai.dal.dataobject.ability.AbilityUsedRecordDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AbilityUsedRecordConvert {

    AbilityUsedRecordConvert INSTANCE = Mappers.getMapper(AbilityUsedRecordConvert.class);

    AbilityUsedRecordRespVO convert(AbilityUsedRecordDO bean);

    List<AbilityUsedRecordRespVO> convertList(List<AbilityUsedRecordDO> list);

}
